﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="QuotaPromptList.aspx.cs" Inherits="StoragePeriod.Web.SysManage.QuotaPromptList" %>
<%@ Register src="UC_Menu.ascx" tagname="UC_Menu" tagprefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <style type="text/css">
    .layout{ background:url(../images/images_59.jpg) no-repeat;}
    .left-cloumn{display:none;}
    .right-cloumn{width:944px;}
    #sms_title_li_0{ background:url(../images/images_55.jpg) no-repeat;}
    .Left_Search{width:190px;padding-left:10px; height:30px;border-top:1px solid #ccc;}
    .right_Stafflist{ overflow:auto;}
</style>

<script src="/Scripts/artDialog/artDialog.source.js?skin=default" type="text/javascript"></script>
<script src="/Scripts/artDialog/plugins/iframeTools.source.js" type="text/javascript"></script>
<script type="text/javascript">
    function QuotaEdit(PromptID, EditType) {
        var QuotaID = '<%=Request.QueryString["QuotaID"].ToString()%>';
        art.dialog.open('/SysManage/QuotaPromptEdit.aspx?QuotaID=' + QuotaID + "&EditType=" + EditType + "&PromptID=" + PromptID + "&Rid=" + Math.random(), { title: '指标说明' });
    }

</script>
<script type="text/javascript">

</script>

</asp:Content>
<%--<asp:Content ID="ContentX" ContentPlaceHolderID="ContentScriptManager" runat="server"></asp:Content>--%>
<asp:Content ID="Content2" ContentPlaceHolderID="MainLeft" runat="server"></asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="MainContent" runat="server">
<asp:UpdatePanel>
    <ContentTemplate>
<div class="sms_title">
    <ul>
        <li><a href="OperationManage.aspx"  style="color:#f90;">基础设置</a></li>
        <li><a href="PrivilegeManage.aspx">权限管理</a></li>
        <li><a href="PersonnelManage.aspx">人员管理</a></li>
    </ul>
</div>
<div class="sms_main">
    <div class="BasicData_left">
        <h2>基础数据管理</h2>
        <uc1:UC_Menu ID="UC_Menu1" runat="server" ShowId=8 />
    </div>
    
    <div class="BasicData_right">
        
        <div class="BasicDataBtn">
            <table width="100%" border="0" cellpadding="0" cellspacing="0">
                <tr>
                    <td align="left">&nbsp;&nbsp;指标：<asp:Label ID="lab_QuotaName" runat="server"></asp:Label></td>
                    <td align="right"><input type="button" id="Btn_TypeAdd" value="添加" class="btn_0" onclick="QuotaEdit(0,'Add')" /></td>
                    <td style="width:10px;"></td>
                </tr>
            </table>
        </div>

        <div class="BasicDataList">
            <table width="100%" border="0" cellpadding="0" cellspacing="0" class="BasicDataTable">
                <thead>
                    <tr>
                        <td style="width:60px;">序号</td>
                        <td style="width:60px;">原料类别</td>
                        <td style="width:60px;">起始值</td>
                        <td style="width:60px;">结束值</td>
                        <td>说明</td>
                        <td style="width:60px;">编辑</td>
                        <td style="width:60px;">删除</td>    
                    </tr>
                </thead>
                <tbody>
                    <asp:Repeater ID="RepDataList" runat="server" onitemcommand="RepDataList_ItemCommand">
                        <ItemTemplate>
                            <tr>
                                <td><%=GetXH()%></td>
                                <td><%#GetTypeName(Eval("RawTypeID").ToString())%></td>
                                <td><%#Eval("StartNum")%></td>
                                <td><%#Eval("EndNum")%></td>
                                <td><%#Eval("Prompt")%></td>
                                <td><input type="button" class="RepBtn_Edit" onclick="QuotaEdit(<%#Eval("PromptID")%>,'Edit')" /></td>
                                <td><asp:Button ID="RepBtn_Del" CssClass="RepBtn_Del" runat="server" OnClientClick="return confirm('是否删除？');" CommandName="Del" CommandArgument=<%#Eval("PromptID")%> /></td>
                            </tr>
                        </ItemTemplate>
                    </asp:Repeater>
                </tbody>
            </table>
        </div>
    </div>
</div>
<div class="sms_foot">
    <img src="../images/images_58.jpg" width="944" height="8" class="float_left" />
</div>
    </ContentTemplate>
</asp:UpdatePanel>
</asp:Content>